export default [
  {
    name: 'duty',
    path: '/duty',
    meta: {
      title: '监室值班'
    },
    children: [
      {
        name: 'dutyPlan',
        path: '/duty/dutyPlan',
        component: () => import('@/views/duty/dutyPlan.vue'),
        meta: {
          title: '值班计划'
        }
      },
      {
        name: 'assignment',
        path: '/duty/assignment',
        component: () => import('@/views/duty/assignment.vue'),
        meta: {
          title: '分配值班人员'
        }
      },
      // {
      //   name: 'assignment',
      //   path: '/duty/assignment',
      //   component: () => import('@/views/duty/assignment.vue'),
      //   meta: {
      //     title: '分配值班人员'
      //   }
      // },
      {
        name: 'dutyRecord',
        path: '/duty/dutyRecord',
        component: () => import('@/views/duty/dutyRecord.vue'),
        meta: {
          title: '值班记录'
        }
      },
      {
        name: 'dutySet',
        path: '/duty/dutySet',
        component: () => import('@/views/duty/dutySet.vue'),
        meta: {
          title: '值班设置'
        }
      }
    ]
  }
]
